package com.corechina.apex_osswords.service;

import com.corechina.apex_osswords.common.Response;
import com.corechina.apex_osswords.domain.dto.CoreVisitingRecordsDto;
import com.corechina.apex_osswords.domain.entity.CoreVisitingRecords;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 来访日志 服务类
 * </p>
 *
 * @author cc
 * @since 2022-05-30
 */
public interface ICoreVisitingRecordsService extends IService<CoreVisitingRecords> {

    Response add(CoreVisitingRecordsDto coreVisitingRecordsDto);

    Response getList(Integer placeId, String company, String visitorName, String visitingTimeBegin, String visitingTimeEnd, String departureTimeBegin, String departureTimeEnd, Integer pageIndex, Integer pageSize);

    Response getOne(Integer id);

    Response getVisitingStatistics(Integer placeId, String visitingTimeBegin, String visitingTimeEnd);
}
